package org.edu.modules.logistics.good.service;

import org.edu.common.base.BaseService;
import org.edu.common.base.BasePageDto;
import org.edu.common.utils.ConvertUtils;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.edu.modules.logistics.good.entity.VeHqWupin;
import org.edu.modules.logistics.good.dto.VeHqWupinDto;

/**
 * service-办公物品信息
 *
 * @author Erik Zhang
 * @version 1.0
 * @since 2021-03-06
 */
public interface VeHqWupinService extends BaseService<VeHqWupin> {

    IPage<VeHqWupinDto> pageDto(BasePageDto page, @Param(Constants.WRAPPER) Wrapper queryWrapper);
    /**
    * 查询实体类
    */
    VeHqWupinDto findDtoById(String id);

    /**
    * 新增或者修改
    */
    void insertOrUpdate(VeHqWupinDto dto, Boolean isAdd);

}
